package com.iqiyi.dbagent.view.monitor.alarm;

/**
 * @Title: Alarm.java
 * @Package com.iqiyi.dbagent.view.monitor.alarm.Alarm
 * @Description: 程序告警信息
 * @author wangnianming
 * @date 2015年9月17日 下午3:37:24
 * @version V1.0
 */
public class Alarm {

    private String alarmTime;

    private String topicName;

    private String alarmCause;

    private String detailInfo;

    public String getAlarmTime() {
        return alarmTime;
    }

    public void setAlarmTime(String alarmTime) {
        this.alarmTime = alarmTime;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getAlarmCause() {
        return alarmCause;
    }

    public void setAlarmCause(String alarmCause) {
        this.alarmCause = alarmCause;
    }

    public String getDetailInfo() {
        return detailInfo;
    }

    public void setDetailInfo(String detailInfo) {
        this.detailInfo = detailInfo;
    }

    public Alarm(String alarmTime, String topicName, String alarmCause,
            String detailInfo) {
        super();
        this.alarmTime = alarmTime;
        this.topicName = topicName;
        this.alarmCause = alarmCause;
        this.detailInfo = detailInfo;
    }

    public Alarm() {
        // TODO Auto-generated constructor stub
    }

    @Override
    public String toString() {
        return "Alarm [alarmTime=" + alarmTime + ", topicName=" + topicName
                + ", alarmCause=" + alarmCause + ", detailInfo=" + detailInfo
                + "]";
    }

}
